.tpd-header {
  background: #183c56;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 16px 32px 12px 32px;
  border-radius: 6px 6px 0 0;
}

.tpd-info-row {
  display: flex;
  align-items: center;
  padding: 16px 32px 0 32px;
  font-size: 15px;
  color: #222;
  gap: 32px;
}

.tpd-label {
  font-weight: bold;
  color: #222;
  font-size: 15px;
  margin: 18px 0 8px 32px;
}

.tpd-service-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px 8px 32px;
}

.tpd-service-input,
.tpd-service-date {
  width: 220px;
  height: 36px;
  font-size: 15px;
}

.tpd-service-btn {
  border: none;
  background: none;
  font-size: 20px;
  color: #183c56;
  padding: 0 4px;
  cursor: pointer;
  box-shadow: none;
}

.tpd-editor-wrap {
  padding: 0 32px;
}

.tpd-tiptap-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #f1f1f1;
  border: 1px solid #ccc;
  border-bottom: none;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 4px;
}

.toolbar-group {
  display: flex;
  align-items: center;
  border-right: 1px solid #ddd;
  padding: 0 8px;
  margin: 4px 0;
}
.toolbar-group:last-child {
  border-right: none;
}

.tpd-tiptap-toolbar button {
  background: none;
  border: none;
  padding: 4px;
  margin: 0 1px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tpd-tiptap-toolbar button:hover {
  background: #e0e0e0;
}
.tpd-tiptap-toolbar button.is-active {
  background: #ccc;
}
.toolbar-color-input {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  padding: 2px;
  cursor: pointer;
}

.tpd-editor-content {
  border: 1px solid #ccc;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background: #fff;
  height: 400px;
}

.tpd-editor-content .ProseMirror {
  min-height: 180px;
  padding: 8px 12px;
  font-size: 15px;
}
.tpd-editor-content .ProseMirror:focus {
  outline: none;
}

.tpd-footer {
  text-align: center;
  padding: 24px 0 0 0;
}

.tpd-btn {
  min-width: 90px;
  height: 36px;
  font-size: 15px;
  margin: 0 12px;
  border-radius: 4px;
}
